-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executor: Fix authplugin handling with alter/create #28468
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Please follow PR Title Format:
Or if the count of mainly changed packages are more than 3, use
After you have format title, you can leave a comment |
7170739
to
b1ea2ac
Compare
1c2f3d8
to
f5e5113
Compare
46229d8
to
13f2c49
Compare
/cc @morgo |
- `ALTER USER`: fix changing the auth plugin of a user with `IDETIFIED WITH ...` - `ALTER USER`: Check for invalid auth plugins - `CREATE USER`: Check for invalid auth plugins
13f2c49
to
0da9f37
Compare
cc @pingcap/tidb-reviewers |
/run_check_dev_2 I'm having trouble viewing the jenkins results. It LGTM, but I want to see what the error reported is. |
@dveeden The failures look related:
|
/cc @mjonss |
/run-check_dev_2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Two questions:
- Which manual tests have you done (since the checkbox was marked)?
- Are there any issue open for the duplication of error definitions (errno/errname.go vs parser/mysql/errname.go)?
Changing the authentication plugin of an account:
Using an invalid authentication plugin name:
Using
Yes, #29026 |
/assign @morgo |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 7b393cc
|
What problem does this PR solve?
Problem Summary: Fix handling of auth plugins
What is changed and how it works?
What's Changed:
ALTER USER
: fix changing the auth plugin of a user withIDENTIFIED WITH ...
ALTER USER
: Check for invalid auth pluginsCREATE USER
: Check for invalid auth pluginsSET PASSWORD
: return warning when setting a password when using socket authenticationCheck List
Tests
Release note